package com.ziyun.erp.modules.supp.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import com.ziyun.erp.modules.supp.dao.UserLoginCensusDao;
import com.ziyun.erp.modules.supp.entity.UserLoginCensusEntity;
import com.ziyun.erp.modules.supp.service.UserLoginCensusService;


@Service("userLoginCensusService")
public class UserLoginCensusServiceImpl extends ServiceImpl<UserLoginCensusDao, UserLoginCensusEntity> implements UserLoginCensusService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<UserLoginCensusEntity> page = this.selectPage(
                new Query<UserLoginCensusEntity>(params).getPage(),
                new EntityWrapper<UserLoginCensusEntity>()
        );

        return new PageUtils(page);
    }

}
